// WriteNumbers: 函数参数的默认值

#include <iostream>
using namespace std;

void WriteNumbers(int end = 10, int inc = 3, int start = 1);

int main() {
    WriteNumbers();
    WriteNumbers(20);
    WriteNumbers(20, 5);
    WriteNumbers(15, 3, 0);
}

void WriteNumbers(int end, int inc, int start) {
    cout << "打印shuzi 起点 = " << start
        << ", 增量 = " << inc
        << ", 终点 = " << end << "\n";
    for (int i = start; i <= end; i += inc) {
        if (i != start) {
            cout << ", ";
        }
        cout << i;
    }
    cout << "\n\n";
}